//
//  DGGlobalTimerTask.h
//  DGGlobalTimer
//
//  Created by Jinxiao on 7/25/14.
//  Copyright (c) 2014 debugeek. All rights reserved.
//

@interface DGGlobalTimerTask : NSObject
@property (readwrite, nonatomic, copy) NSString *key;
@property (readwrite, nonatomic, assign) NSTimeInterval interval;
@property (readwrite, nonatomic, assign) NSTimeInterval duration;
@property (readwrite, nonatomic, assign) NSTimeInterval fired;

- (void)schedule;
- (void)drop;
- (void)dropForced:(BOOL)forced;

@property (readonly) NSTimeInterval remains;

@end
